home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
X11
/
xclipboard.z
/
xclipboard
Wrap
Text File
|
1998-10-20
|
7KB
|
199 lines
XXXXCCCCLLLLIIIIPPPPBBBBOOOOAAAARRRRDDDD((((1111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333)))) XXXXCCCCLLLLIIIIPPPPBBBBOOOOAAAARRRRDDDD((((1111))))
NNNNAAAAMMMMEEEE
xclipboard - X clipboard client
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
xxxxcccclllliiiippppbbbbooooaaaarrrrdddd [ -_t_o_o_l_k_i_t_o_p_t_i_o_n ... ] [ ----wwww ] [ ----nnnnwwww ]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
The _x_c_l_i_p_b_o_a_r_d program is used to collect and display text
selections that are sent to the CLIPBOARD by other clients.
It is typically used to save CLIPBOARD selections for later
use. It stores each CLIPBOARD selection as a separate
string, each of which can be selected. Each time CLIPBOARD
is asserted by another application, _x_c_l_i_p_b_o_a_r_d transfers the
contents of that selection to a new buffer and displays it
in the text window. Buffers are never automatically
deleted, so you'll want to use the delete button to get rid
of useless items.
Since _x_c_l_i_p_b_o_a_r_d uses a Text Widget to display the contents
of the clipboard, text sent to the CLIPBOARD may be re-
selected for use in other applications. _x_c_l_i_p_b_o_a_r_d also
responds to requests for the CLIPBOARD selection from other
clients by sending the entire contents of the currently
displayed buffer.
An _x_c_l_i_p_b_o_a_r_d window has the following buttons across the
top:
_q_u_i_t When this button is pressed, _x_c_l_i_p_b_o_a_r_d exits.
_d_e_l_e_t_e When this button is pressed, the current buffer is
deleted and the next one displayed.
_n_e_w Creates a new buffer with no contents. Useful in
constructing a new CLIPBOARD selection by hand.
_s_a_v_e Displays a File Save dialog box. Pressing the
Accept button saves the currently displayed buffer
to the file specified in the text field.
_n_e_x_t Displays the next buffer in the list.
_p_r_e_v_i_o_u_s
Displays the previous buffer.
OOOOPPPPTTTTIIIIOOOONNNNSSSS
The _x_c_l_i_p_b_o_a_r_d program accepts all of the standard X Toolkit
command line options as well as the following:
----wwww This option indicates that lines of text that are
too long to be displayed on one line in the
clipboard should wrap around to the following lines.
Page 1 (printed 4/30/98)
XXXXCCCCLLLLIIIIPPPPBBBBOOOOAAAARRRRDDDD((((1111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333)))) XXXXCCCCLLLLIIIIPPPPBBBBOOOOAAAARRRRDDDD((((1111))))
----nnnnwwww This option indicates that long lines of text should
not wrap around. This is the default behavior.
WWWWIIIIDDDDGGGGEEEETTTTSSSS
In order to specify resources, it is useful to know the
hierarchy of the widgets which compose _x_c_l_i_p_b_o_a_r_d. In the
notation below, indentation indicates hierarchical
structure. The widget class name is given first, followed
by the widget instance name.
XClipboard xclipboard
Form form
Command Quit
Command delete
Command new
Command Save
Command next
Command prev
Label index
Text text
TransientShell fileDialogShell
Dialog fileDialog
Label label
Command accept
Command cancel
Text value
TransientShell failDialogShell
Dialog failDialog
Label label
Command continue
SSSSEEEENNNNDDDDIIIINNNNGGGG////RRRREEEETTTTRRRRIIIIEEEEVVVVIIIINNNNGGGG CCCCLLLLIIIIPPPPBBBBOOOOAAAARRRRDDDD CCCCOOOONNNNTTTTEEEENNNNTTTTSSSS
Text is copied to the clipboard whenever a client asserts
ownership of the CCCCLLLLIIIIPPPPBBBBOOOOAAAARRRRDDDD selection. Text is copied from
the clipboard whenever a client requests the contents of the
CCCCLLLLIIIIPPPPBBBBOOOOAAAARRRRDDDD selection. Examples of event bindings that a user
may wish to include in a resource configuration file to use
the clipboard are:
*VT100.Translations: #override \
<Btn3Up>: select-end(CLIPBOARD) \n\
<Btn2Up>: insert-selection(PRIMARY,CLIPBOARD) \n\
<Btn2Down>: ignore ()
SSSSEEEEEEEE AAAALLLLSSSSOOOO
X(1), xcutsel(1), xterm(1), individual client documentation
for how to make a selection and send it to the CLIPBOARD.
EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT
PPPPaaaaggggeeee 2222 ((((pppprrrriiiinnnntttteeeedddd 4444////33330000////99998888))))
XXXXCCCCLLLLIIIIPPPPBBBBOOOOAAAARRRRDDDD((((1111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333)))) XXXXCCCCLLLLIIIIPPPPBBBBOOOOAAAARRRRDDDD((((1111))))
DDDDIIIISSSSPPPPLLLLAAAAYYYY to get the default host and display number.
XXXXEEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT
to get the name of a resource file that overrides
the global resources stored in the RESOURCE_MANAGER
property.
FFFFIIIILLLLEEEESSSS
<XRoot>/lib/X11/app-defaults/XClipboard - specifies required
resources
AAAAUUUUTTTTHHHHOOOORRRR
Ralph R. Swick, DEC/MIT Project Athena
Chris D. Peterson, MIT X Consortium
Keith Packard, MIT X Consortium
Page 3 (printed 4/30/98)